home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Examples / Slider / Slider Classes.ReadMe < prev    next >
Encoding:
Text File  |  1995-09-29  |  1.2 KB  |  34 lines  |  [TEXT/ttxt]

  1. Example:                        Slider
  2. Written by:                    Garth Smedley, TGS Systems
  3. Updated for 2.6.1 by:            The Tech Support Team, Pictorius Incorporated
  4.  
  5. Contents:     Slider Classes.pgs                
  6.                    Slider Classes ReadMe
  7.                                      Slider Example.pgs
  8.                                      
  9. Needs Prograph Extensions:
  10.                     The default configuration of your 'Prograph Extensions' folder.
  11.  
  12. Needs Libraries to Compile:
  13.                     SCLibrary 2.6
  14.                     Library 2.6
  15.  
  16. New Classes
  17.                    HSLider - Horizontal Slider
  18.                    VSLider - Vertical Slider
  19.  
  20.  
  21. Description
  22. -----------
  23. Sliders work like scroll bars without the little arrows at either end. What a slider looks like depends on you.
  24.  
  25. How to Use in Your Program
  26. -------------------------
  27. To add sliders to an existing application: selectively load the classes “VSlider” and “HSlider” from "Slider Classes.pgs" into your source file, then make “HSlider” a subclass of “Click Item”. 
  28.  
  29. You add sliders to your window with the Window Editor just as you would any other type of Window Item.
  30.  
  31. If you want to make your slider look different, create a subclass of one of the slider classes and override the “Draw Indicator” and “Draw Line” methods.
  32.  
  33.  
  34.